package com.learn.design.singleresponsibility.old;

/**
 * @author Administrator
 */
public class SingleResponsibility1 {

    public static void main(String[] args) {
        Vehicle vehicle = new Vehicle();

        vehicle.run("飞机");
        vehicle.run("汽车");
        vehicle.run("轮船");
    }
}
